package com.wyk.hanlder;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.wyk.common.Result;
import org.springframework.stereotype.Component;

/**
 * @author WangYuKai
 * @Date 2022/7/31
 * @apiNote
 */
@Component
public class CustomerBlockHanlder {
    public static Result hanlderException(BlockException exception){
        return new Result(444,"这是客户自定义全局的处理");
    }

    public static Result hanlderException2(BlockException exception){
        return new Result(444,"这是客户自定义全局的处理");
    }
}
